﻿using Acme.ConcreteMixDesign.Dtos;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using static Volo.Abp.Identity.Settings.IdentitySettingNames;

namespace Acme.ConcreteMixDesign.Samples
{
    public class PlayerAppServiceTexts: ConcreteMixDesignApplicationTestBase
    {
        private readonly IPlayerAppService _playerAppService;

        public PlayerAppServiceTexts()
        {
            _playerAppService = GetRequiredService<IPlayerAppService>();
        }

        //[Fact]
        //public async Task Should_Create_A_Valid_Player()
        //{
        //    await WithUnitOfWorkAsync(async () =>
        //    {
        //        await Should.NotThrowAsync(async () =>
        //        {
        //            var input = new CreatePlayerDto
        //            {
        //                accounts = "123",
        //                password = "123",
        //                nick = "lmw",
        //                sex = "男",
        //                school = "gks",
        //                speciality = "rjgc",
        //                classstr = "211",
        //                job = "xs"
        //            };
        //            await _playerAppService.GetPlayerAsync(input);
        //        });
        //    });
        //}

    }
}
